<?php
$v_status = -1;
$v_filter = "";
if(_is_sqlserver()){
	$cmd = @mssql_init("ONEGATE_ListtypeGetAll", $conn);
	@mssql_bind($cmd, "@p_filter", $v_filter, SQLVARCHAR);
	@mssql_bind($cmd, "@p_status", $v_status, SQLINT4);
	$result_all_listtype = @mssql_execute($cmd);
	// Luu so ban ghi
	$v_count = @mssql_num_rows($result_all_listtype);
	$arr_all_listtype = _get_row_to_array($result_all_listtype);
	@mssql_free_result($arr_all_listtype);
}?>
